﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Runtime.InteropServices;
using Engine;

namespace SSEmath
{
    public static class SSEmath
    {
        [DllImport("math.dll", EntryPoint = "ADD_DVectors3_new", CallingConvention = CallingConvention.StdCall), SuppressUnmanagedCodeSecurity]
        public static extern void ADD_DVectors3_new(uint Vector3vec0, uint Vector3vec1, uint Vector3vec2, uint Vector3vec3, uint Vector3vec4, uint Vector3vec5,
                                                    uint Vector3vec6, uint Vector3vec7, uint Vector3OAA, uint Vector3OBB, uint WMatrix);

        [DllImport("math.dll", EntryPoint = "Transform_void_Vector3_Vector3_Vector3_Vector3_Matrix4x4", CallingConvention = CallingConvention.StdCall), SuppressUnmanagedCodeSecurity]
        public static extern void Transform_void_Vector3_Vector3_Vector3_Vector3_Matrix4x4(uint Vector3_1, uint Vector3_2, uint Vector3_3, uint Vector3_4, uint Matrix4x4);

        [DllImport("math.dll", EntryPoint = "CpuTicks", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
        public static extern void CpuTicks(uint longTicks);



        public static UInt64 delta = new UInt64();
        public static UInt64 delta2 = new UInt64();
        public static ulong counter = 0;
        public static ulong min = 999999999;

        
        public static void init()
        {

        }
    }
}
